<template>
  <node
    :show="false"
    :merge="config.parentType === 'CONCURRENTS'"
    @insertNode="insertNode"
  />
</template>

<script>
import Node from './Node.vue'
export default {
  name: 'EmptyNode',
  components: { Node },
  props: {
    config: {
      type: Object,
      default: () => {
        return {}
      },
    },
  },
  emits: ['insertNode'],
  setup(props, context) {
    const insertNode = (type) => {
        context.emit('insertNode', type)
    }
    return {
        insertNode
    }
  }
}
</script>

<style>

</style>